/*
 * Copyright 2008 Carnegie Mellon University
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, 
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package edu.cmu.lti.sepia.infra.run.model;

public class RunResult {

  private Question question;
  private QuestionAnalysisResult qaResult;
  private RetrievalResult rsResult;
  private ExtractionResult ixResult;
  private SelectionResult agResult;
  
  public RunResult(Question question) {
    this.question = question;
  }
  
  /**
   * @param question the question to set
   */
  public void setQuestion(Question question) {
    this.question = question;
  }

  /**
   * @param qaResult the qaResult to set
   */
  public void setQuestionAnalysisResult(QuestionAnalysisResult qaResult) {
    this.qaResult = qaResult;
  }

  /**
   * @param rsResult the rsResult to set
   */
  public void setRetrievalResult(RetrievalResult rsResult) {
    this.rsResult = rsResult;
  }

  /**
   * @param ixResult the ixResult to set
   */
  public void setExtractionResult(ExtractionResult ixResult) {
    this.ixResult = ixResult;
  }

  /**
   * @param agResult the agResult to set
   */
  public void setSelectionResult(SelectionResult agResult) {
    this.agResult = agResult;
  }

  /**
   * @return the question
   */
  public Question getQuestion() {
    return question;
  }
  /**
   * @return the qaResult
   */
  public QuestionAnalysisResult getQuestionAnalysisResult() {
    return qaResult;
  }
  /**
   * @return the rsResult
   */
  public RetrievalResult getRetrievalResult() {
    return rsResult;
  }
  /**
   * @return the ixResult
   */
  public ExtractionResult getExtractionResult() {
    return ixResult;
  }
  /**
   * @return the agResult
   */
  public SelectionResult getSelectionResult() {
    return agResult;
  }
  
}
